﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cau_hinh.ascx.cs" Inherits="eDream.admin.cau_hinh" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<div style="margin-top: 20px">
    <dx:ASPxGridView ID="grviewCauhinh" runat="server" AutoGenerateColumns="False" DataSourceID="LinqDataSource1" KeyFieldName="ID" Theme="DevEx" Width="600px">
        <Columns>
            <dx:GridViewBandColumn Caption="Hoa hồng">
                <HeaderStyle Font-Bold="true" HorizontalAlign="Center" />
                <Columns>
                    <dx:GridViewCommandColumn VisibleIndex="0">
                        <EditButton Visible="True">
                        </EditButton>
                    </dx:GridViewCommandColumn>
                    <dx:GridViewDataTextColumn FieldName="ID" ReadOnly="True" VisibleIndex="1" Visible="false">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Mô tả" FieldName="Name" VisibleIndex="2">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Giá trị" FieldName="Value" VisibleIndex="3">
                    </dx:GridViewDataTextColumn>
                </Columns>
            </dx:GridViewBandColumn>
        </Columns>
    </dx:ASPxGridView>
    <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="eDream.DataClasses1DataContext" EnableDelete="True" EnableInsert="True" EnableUpdate="True" EntityTypeName="" TableName="config_mucHoahongs">
    </asp:LinqDataSource>

    <br />
    <dx:ASPxGridView ID="ASPxGridView1" runat="server" Theme="DevEx" AutoGenerateColumns="False" DataSourceID="LinqDataSource2" KeyFieldName="ID" Width="600px">
        <Columns>
            <dx:GridViewBandColumn Caption="Hoa hồng tư vấn">
                <HeaderStyle Font-Bold="true" HorizontalAlign="Center" />
                <Columns>
                    <dx:GridViewCommandColumn VisibleIndex="0">
                        <EditButton Visible="True">
                        </EditButton>
                    </dx:GridViewCommandColumn>
                    <dx:GridViewDataTextColumn FieldName="ID" ReadOnly="True" VisibleIndex="1" Visible="false">
                        <EditFormSettings Visible="False" />
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn Caption="Mức đóng" FieldName="Value" VisibleIndex="2">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataTextColumn FieldName="Pay" Caption="Trả hoa hồng" VisibleIndex="3">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataDateColumn FieldName="Day" VisibleIndex="4" Visible="false">
                    </dx:GridViewDataDateColumn>
                    <dx:GridViewDataCheckColumn FieldName="Acti" VisibleIndex="5" Visible="false">
                    </dx:GridViewDataCheckColumn>
                </Columns>
            </dx:GridViewBandColumn>
        </Columns>

    </dx:ASPxGridView>
    <asp:LinqDataSource ID="LinqDataSource2" runat="server" ContextTypeName="eDream.DataClasses1DataContext" EnableDelete="True" EnableInsert="True" EnableUpdate="True" EntityTypeName="" TableName="config_Money_Tuvans">
    </asp:LinqDataSource>
</div>
